package com.wtb.javatool.dao;

import com.wtb.javatool.entity.Team;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeamMapper {
    void insertTeam(Team team);

    void insertClassTeamRef(@Param("classId")Long classId,@Param("teamId")Long teamId);

    void deleteClassTeamRef(@Param("teamId")Long teamId);

    void updateTeamLeader(@Param("teamId")Long teamId,@Param("userId")Long userId);
}
